package com.ruoyi.zsyh.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 空调安装登记对象 zsyh_electric_install
 * 
 * @author yuexl
 * @date 2023-05-17
 */
public class ZsyhElectricInstall extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 填写人的openid */
    @Excel(name = "填写人的openid")
    private String createOpenid;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户电话 */
    @Excel(name = "用户电话")
    private String userPhone;

    /** 用户地址 */
    @Excel(name = "用户地址")
    private String userAddress;

    /** 安装师傅姓名 */
    @Excel(name = "安装师傅姓名")
    private String repairName;

    /** 安装师傅 电话 */
    @Excel(name = "安装师傅 电话")
    private String repairPhone;

    /** 安装时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date installTime;

    /** 产品条码 图片 */
    @Excel(name = "产品条码 图片")
    private String electricCode;

    /** 安装完工图片 */
    @Excel(name = "安装完工图片")
    private String installImg;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreateOpenid(String createOpenid) 
    {
        this.createOpenid = createOpenid;
    }

    public String getCreateOpenid() 
    {
        return createOpenid;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserAddress(String userAddress) 
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress() 
    {
        return userAddress;
    }
    public void setRepairName(String repairName) 
    {
        this.repairName = repairName;
    }

    public String getRepairName() 
    {
        return repairName;
    }
    public void setRepairPhone(String repairPhone) 
    {
        this.repairPhone = repairPhone;
    }

    public String getRepairPhone() 
    {
        return repairPhone;
    }
    public void setInstallTime(Date installTime) 
    {
        this.installTime = installTime;
    }

    public Date getInstallTime() 
    {
        return installTime;
    }
    public void setElectricCode(String electricCode) 
    {
        this.electricCode = electricCode;
    }

    public String getElectricCode() 
    {
        return electricCode;
    }
    public void setInstallImg(String installImg) 
    {
        this.installImg = installImg;
    }

    public String getInstallImg() 
    {
        return installImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createOpenid", getCreateOpenid())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("userAddress", getUserAddress())
            .append("repairName", getRepairName())
            .append("repairPhone", getRepairPhone())
            .append("installTime", getInstallTime())
            .append("electricCode", getElectricCode())
            .append("installImg", getInstallImg())
            .append("remark", getRemark())
            .toString();
    }
}
